app.filter('sanitize', ['$sanitize', function($sanitize) {
	//filter to make data html-escaped
	return function(str) {
		return $sanitize(str).replace(/(&#10;)/g, '\n');
	};
}]);